package chen.web.controller.forum.form;

import org.hibernate.validator.constraints.NotEmpty;

public class EmailAccountForm {

	private boolean useSMTP;
	@NotEmpty
	private String senderEmail;
	private String smtpHost;
	private String username;
	private String password;
	
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public void setUseSMTP(boolean useSMTP) {
		this.useSMTP = useSMTP;
	}
	public boolean isUseSMTP() {
		return useSMTP;
	}
	public void setSenderEmail(String senderEmail) {
		this.senderEmail = senderEmail;
	}
	public String getSenderEmail() {
		return senderEmail;
	}
	public void setSmtpHost(String smtpHost) {
		this.smtpHost = smtpHost;
	}
	public String getSmtpHost() {
		return smtpHost;
	}
}
